#include <QtCore>
#include <QApplication>
#include <QMainWindow>
#include "ui/component/CostTypeCombox.h"
#include "ui/ProjectManager.h"
#include "bo/User.h"
#include "ui/component/ManagerSelector.h"
#include "ui/component/SolidPieTest.h"
#include "ui/BugetCreator.h"
#include "ui/BugetModifier.h"
#include "ui/DirectorMain.h"
#include "ui/UserCenter.h"
#include "ui/BugetViewer.h"
#include "ui/Login.h"
#include <qplastiquestyle.h>
#include "ui/ServerDialog.h"
#include <qinputdialog.h>
int main(int argc, char *argv[])
{
    QApplication a(argc, argv);

    QTextCodec* tc = QTextCodec::codecForName("UTF-8");
	QTextCodec::setCodecForLocale(tc);
	QTextCodec::setCodecForCStrings(tc);
	QTextCodec::setCodecForTr(tc);


	a.setStyle(new QPlastiqueStyle);

	Dao.init();


	Login* login = new Login;
	login->show();


//	UserCenter uc(Dao.user);
//	uc.show();
//	DirectorMain main;
//	main.show();
/*	SolidPieTest test;
	test.show();*/
	/*LoginWindow login;
	login.show();*/
//	ProjectManager project(Dao.user);
//	project.show();
    return a.exec();
}
